Skip to content

Add Agent Settings UI for AI search#2320

Draft
Mbeaulne wants to merge 1 commit into
05-27-agent-settings-ai-rerank-servicefrom
05-27-agent-settings-ui
Draft

Add Agent Settings UI for AI search#2320
Mbeaulne wants to merge 1 commit into
05-27-agent-settings-ai-rerank-servicefrom
05-27-agent-settings-ui

Conversation

@Mbeaulne
Copy link
Copy Markdown
Collaborator

@Mbeaulne Mbeaulne commented May 27, 2026

Tophatting

Manual tophatting recommended because this PR adds a settings screen.

  1. Turn on the Components V2 beta flag.
  2. Open Settings → Agent Configuration.
  3. Try saving without a model and confirm the inline error is shown.
  4. Enter a provider URL, API key, and model id, then click “Test connection”.

What changed

Adds the Agent Settings screen for configuring AI search.

Users can enter:

  • API base URL
  • API key
  • model id

The screen can test whether the provider is reachable and whether the model exists.

Why

Components V2 AI search should work with a user-provided OpenAI-compatible API. This keeps credentials out of the app bundle and lets users choose their own provider/model.

Test plan

  • Turn on the Components V2 beta flag
  • Open Settings → Agent Configuration
  • Try saving without a model and confirm inline validation appears
  • Enter a provider URL/key/model and click “Test connection”
  • Run pnpm exec vitest run src/routes/Settings/sections/AgentSettings.test.tsx
  • Run pnpm run typecheck --pretty false

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 27, 2026

🎩 Preview

A preview build has been created at: 05-27-agent-settings-ui/bb24190

Copy link
Copy Markdown
Collaborator Author

Mbeaulne commented May 27, 2026

@Mbeaulne Mbeaulne force-pushed the 05-27-agent-settings-ui branch from 38b163d to bb24190 Compare May 27, 2026 23:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant